#!/bin/bash

echo '开放端口'
# mysql
firewall-cmd --zone=public --add-port=3306/tcp --permanent
# zentao
firewall-cmd --zone=public --add-port=80/tcp --permanent

firewall-cmd --reload

echo '启动容器'
docker-compose up -d

echo '查看容器'
docker-compose ps
